﻿using Looptribe.Moodlin8.Model.Api;

namespace Looptribe.Moodlin8.Model.Response
{
    class ObjectResponse<T> : IResponse<T>
    {
        private readonly T _data;
        private readonly Status _status;

        public T Data
        {
            get { return _data; }
        }

        public Status Status
        {
            get { return _status; }
        }

        internal ObjectResponse(Status status, T data)
        {
            _data = data;
            _status = status;
        }
    }
}
